package com.angel.architecture.flex.spring.commands.impl;

import java.util.List;

/**
 * @author William
 */
public abstract class MultipleServiceCommand {

    private String serviceName;
    private String methodName;
    private List<Object> arguments;
    private Object result;

    public abstract Object execute();

    public List<Object> getArguments() {
        return arguments;
    }

    public void setArguments(List<Object> arguments) {
        this.arguments = arguments;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result){
        this.result = result;
    }
}